<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    
    <title>考勤 - 人员管理 </title>
    
	
	
	<link rel="stylesheet" type="text/css" href="../css/manual.css">
	
  </head>
  
  <body>
  
  <table  width="100%"  border="0" cellpadding="0" cellspacing="0" height="100%">
  	<tr valign="top">
  	
  		<td height="100">
  			 <jsp:include page="/background/head.jsp"></jsp:include>
  		</td>
  	</tr>
  	<tr valign="top">
  		<td>
  		
   
   
  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
  
 <tr>
    	<td width="270" align="center">
    		
    	</td>
    	<td width="100%">

    	</td>
    </tr>
    
    <tr>
    	<td valign="top">
     		<div>
     		
     		</div>
					<s:include value="/background/left.jsp"></s:include>		
     	</td>
     	
     	
     	<td valign="top" >
     	
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		<tr>
     			<td>考勤 - 人员管理
     			
     			<input type="button" value="查看谁有权限" 
     				onclick="javascript:openUrlForDialog('selectoperatorlimitedAction_background.action?limitedCode=<s:property value="limitedcode"/>')"/>
     			</td>
     			<td align="right"><a href="pre1addoperator_attendance.action">添加人员</a> </td>
     		</tr>
     	</table>
     	
     	<table align="center">
     		<tr>
     			<td><s:fielderror id="errormessage" /></td>
     		</tr>
     	</table>
     	
    <form id="managereceiptlist_warehouse" name="managereceiptlist_warehouse" onSubmit="return true;" action="manageaftersaleservice_warehouse.action" method="POST" >
    	
			<table  border="0" >
				<tr>
				  <td>
					  查找考勤信息:<input type="text" name="searchStr" size="30" value="<s:property value="searchStr"/>"/>
					  <input type="submit" value="查找" />
				  </td>
			  </tr>
			</table>
	</form> 
	
	
		
		
		
		
		<table >
			
		
			<s:iterator value="list" id="list">
				<tr>

					<td>
						

<table border="0" cellpadding="0"  cellspacing="0" width="100%"    style= "border:1px solid #ffffff; border-bottom-color:#b2d5ff;
    border-left-color:#b2d5ff;border-right-color:#b2d5ff;border-top-color:#b2d5ff">
									<tr>
										<td>
											<table bgcolor="#f3f7fc" width="100%" >
												<tr>
													<td>
														
													</td>
													
												 	
												</tr>
											</table> 
											
										</td>
									</tr>
									<tr>
										<td>
											<table width="100%" border="1" cellpadding="0"  cellspacing="0" bordercolor="#f5f5f5" style="border-collapse:collapse; border-width:1px 0 0 1px;">
												<tr>
													<td width="105" align="center" title="<s:property value="#list.basicpay_operator"/>">
														<p>
																	<s:property value="#list.name_operator"/>
																	</p>
																	
																	<p><font color="#c0c0c0">
																	(<s:property value="#list.firstname_operator"/>)
																	</font>
																	</p>
																	
													</td>
												
													<td width="390" >
													
													
													
													
														<table >
															<tr>
																<s:if test="#list.monday_operator==true">
																<td >
																周一 
																<input id="monday_operator" name="monday_operator" type="checkbox" checked="checked" /> 
																</td>
																</s:if>
																<s:else>
																<td bgcolor="#c0c0c0" height="55">
																	周一 
																	<input id="monday_operator" name="monday_operator" type="checkbox"  /> 
																</td>
																</s:else>
																	
																	
																<s:if test="#list.tuesday_operator==true">
																	<td>
																	
																	周二
																	<input id="tuesday_operator" name="tuesday_operator" type="checkbox" checked="checked" /> 

																	</td>
																	
																	</s:if>
																	<s:else>
																	<td bgcolor="#c0c0c0" height="55">
																	周二
																	<input type="checkbox" id="tuesday_operator" name="tuesday_operator" /> 
																	</td>
																</s:else>
																
																<s:if test="#list.wednesday_operator==true">
																	<td >
																周三 
																	
																	<input id="wednesday_operator" name="wednesday_operator" type="checkbox" checked="checked" /> 
																	
																	</td>
																	
																	</s:if>
																	<s:else>
																	<td bgcolor="#c0c0c0" height="55">
																	周三 
																	<input type="checkbox" id="wednesday_operator" name="wednesday_operator" /> 
																	
																	</td>
																	</s:else>
																	
																<s:if test="#list.thursday_operator==true">
																<td >
																 周四 
																 	
																	<input id="thursday_operator" name="thursday_operator" type="checkbox" checked="checked" /> 
																	
																	</td>
																</s:if>
																	<s:else> 
																	<td bgcolor="#c0c0c0" height="55">
																	周四 
																	<input type="checkbox" id="thursday_operator" name="thursday_operator" />
																	</td> 
																</s:else>
																	
																
																<s:if test="#list.friday_operator==true">
																<td >
																	
																周五 
																	
																	<input id="friday_operator" name="friday_operator" type="checkbox" checked="checked" /> 
																	
																	</td>
																	</s:if>
																	<s:else>
																	<td bgcolor="#c0c0c0" height="55">
																	周五 
																	<input type="checkbox" id="friday_operator" name="friday_operator" /> 
																	</td>
																</s:else>
																	
																	
																	<s:if test="#list.saturday_operator==true">
																	
																	<td >
																	周六
																	
																	<input id="saturday_operator" name="saturday_operator" type="checkbox" checked="checked" /> 
																	
																	</td>
																	
																	</s:if>
																	<s:else>
																	<td bgcolor="#c0c0c0" height="55">周六
																		<input type="checkbox" id="saturday_operator" name="saturday_operator" />
																	
																	</td> 
																	</s:else>
																	
																	<s:if test="#list.sunday_operator==true">
																	<td >
																
																周日
																	
																	<input id="sunday_operator" name="sunday_operator" type="checkbox" checked="checked" /> 
																	
																	
							
																</td>
																</s:if>
																	<s:else>
																	<td bgcolor="#c0c0c0" height="55">
																	周日
																	<input type="checkbox" id="sunday_operator" name="sunday_operator" /> 
																	</td>
																	</s:else>
																
															</tr>
															
														</table>
													
													
														
													</td>
													
													<td align="center" width="155">
														<s:property value="#list.workhours_operator"/>~<s:property value="#list.offhours_operator"/>
													</td>
													
													
													
													<td align="center" width="155">
														<p>
															
														¥:<s:property value="#list.basicpay_operator+#list.markpay_operator+#list.jobpay_operator"/>
															
														</p>
														<p>
															=<s:property value="#list.basicpay_operator"/>
															<font color="red">+<s:property value="#list.markpay_operator"/></font>
															<font color="green">+<s:property value="#list.jobpay_operator"/></font>
														</p>
														
													</td>
													
													<td align="center" width="60">
													
															
														<a href="premodifyoperator_attendance.action?operatorid=<s:property value="#list.operatorid_operator"/>">修改</a>
													
													</td>
												</tr>
											</table>
										</td>
									</tr>
									
									
									
							</table>
					
					
					
						
					</td>
					
					
					
						
							
				
				</tr>
				
				</s:iterator>	
		</table>
	
			
	
			
	</td>

	
</tr>

</table>

</td>
</tr>
<tr valign="bottom">
	<td>
		<jsp:include page="/background/tail.jsp"></jsp:include>
	</td>
</tr>
</table>



  </body>

</html>
